package com.yang.springcloud.pojo;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
public class Good implements Serializable {
    private int goodId;
    private String goodName;
    private int GoodPrice;
    private int GoodStock;
    private String goodExplain;

    public int getGoodId() {
        return goodId;
    }

    public void setGoodId(int goodId) {
        this.goodId = goodId;
    }

    public String getGoodName() {
        return goodName;
    }

    public void setGoodName(String goodName) {
        this.goodName = goodName;
    }

    public int getGoodPrice() {
        return GoodPrice;
    }

    public void setGoodPrice(int goodPrice) {
        GoodPrice = goodPrice;
    }

    public int getGoodStock() {
        return GoodStock;
    }

    public void setGoodStock(int goodStock) {
        GoodStock = goodStock;
    }

    public String getGoodExplain() {
        return goodExplain;
    }

    public void setGoodExplain(String goodExplain) {
        this.goodExplain = goodExplain;
    }
}
